package com.android.test.model;

public class OrgDetailInfo extends OrgInfo {
    public String FullName;
    public String mCity;
    public String description;        //教育机构简介
    public String email;              //Email
    public String telephoneNum;       //Telephone
    public String hostUrl;            //WebPage
    public String mainAddress;
    @Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((mCity == null) ? 0 : mCity.hashCode());
		result = prime * result
				+ ((mPostCode == null) ? 0 : mPostCode.hashCode());
		result = prime * result
				+ ((mainAddress == null) ? 0 : mainAddress.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		OrgDetailInfo other = (OrgDetailInfo) obj;
		if (mCity == null) {
			if (other.mCity != null)
				return false;
		} else if (!mCity.equals(other.mCity))
			return false;
		if (mPostCode == null) {
			if (other.mPostCode != null)
				return false;
		} else if (!mPostCode.equals(other.mPostCode))
			return false;
		if (mainAddress == null) {
			if (other.mainAddress != null)
				return false;
		} else if (!mainAddress.equals(other.mainAddress))
			return false;
		return true;
	}
	public String[] mBranch;
    public String mPostCode;
    public Object getUrl() {
	// TODO Auto-generated method stub
	return hostUrl;
    }
    public String getTel() {
	// TODO Auto-generated method stub
	return telephoneNum;
    }

    
/*    public String myComment;
    public long myCommentDate;
    public int myRating;
    public String devLogin;*/
}
